<style type="text/css">
	.my-list {
		margin: 1em auto;
		width: 96%;
		overflow: hidden;
		border: #ddd solid 1px;
		border-radius: 5px;
	}
</style>

<!-- TOPBAR -->
<header class="top-bar flex-row">
	<a class="row-item row-item-auto top-bar-back" href="javascript:window.history.back()">返回</a>
	<h3 class="row-item top-bar-name">代理商专区</h3>
	<a class="row-item row-item-auto top-bar-menu" href="{$config.url}">主页</a>
</header>

<section class="my-list menu-list">
	<a class="menu-list-item menu-list-link" href="{:U('DisShopAgentShop/index','sid='.$sid)}">
		<div class="menu-list-media"></div>
		<div class="menu-list-inner">
			<p class="menu-list-title">进货商城</p>
		</div>
	</a>
</section>

<section class="my-list menu-list">
	<foreach name="types" item="vo" key="k">
		<a class="menu-list-item menu-list-link" href="{:U('DisShopAgentOrder/list','type='.$k.'&sid='.$sid)}">
			<div class="menu-list-media"></div>
			<div class="menu-list-inner">
				<p class="menu-list-title">{$vo}</p>
			</div>
		</a>
	</foreach>
</section>